﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SYH.Domain.Applicaton
{
    /// <summary>
    /// 系统菜单
    /// </summary>
    public class ApplicationMemu : BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        [StringLength(80)]
        public string ParentId { get; set; }
        /// <summary>
        /// 图标样式
        /// </summary>
        [StringLength(200)]
        public string CssIcon { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        [StringLength(200)]
        public string Target { get; set; }
        /// <summary>
        /// 权重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 是否控制
        /// </summary>
        public bool IsAction { get; set; }

    }
}
